/* 
 * AUTHOR: Kevin Lam
 */

package com.apps.utils;

public class RMPUtils {
	
	public static String[] parseFirstLastName(String name){
		if(name.contains(", ")){
			return name.split(", ");
		}
		String[] fl = new String[2];
		fl[0] = name;
		fl[1] = "";
		return fl;
	}
	
	public static String[] getMultipleNames(String instructors){
		if(instructors.contains(" / ")){
			return instructors.split(" / ");
		}
		String[] names = new String[1];
		names[0] = instructors;
		return names;
	}

}
